Carbon


DisposeGDevice

Header: Quickdraw.h Carbon status: Supported

Disposes of a GDevice structure, releases the space allocated for it, and disposes of all the data structures allocated for it.

void DisposeGDevice (
    GDHandle gdh
);
Parameter descriptions
gdh

A handle to the GDevice structure.

DISCUSSION

Generally, you should never need to use this function. Color QuickDraw calls this function when appropriate. The DisposeGDevice function is also available as the DisposGDevice function.

When your application uses the DisposeGWorld function to dispose of an offscreen graphics world, DisposeGDevice disposes of its GDevice structure.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)